home *** CD-ROM | disk | FTP | other *** search
- c.def Has all static and macros defintion for "C" compiler
-
- c1.c Has main line and opening text plus #include,
- #if, #nif,error summary, dumpingt extern ,
- and static area
-
- c2.c Has new function handleing ,statement parser,
- some ending charater check routines, compound statement,
- if statement, while statement,switch statement, for statement
- return statement, break statement, contiune statement,
- #asm statement, #endasm
-
- c3.c,c4.5 have needed utils and other little function
-
- c5.c-c7.c expression handler
-
- c8.c-c9.c code generation for the compiler
-
- c.sub submit script to compile the current version of the compiler
- and link it.
-
- cl.sub submit script to link the compiler if all crl file exist
-
- cc.sub submit script to run the compiler used by typeing
- "submit filename"
-
- runtime.asm source to runtime routines needed by the compiler
-
- runtime.txt object of runtime.asm
-
- stdlib.asm a few assembler function that one needs ...
- thing link puts,putch,gets,getch, ...
-
- stdlib.txt object of stdlib.c
-
- function.asm needed assemble function for speed...
- strcpy,strcat,strpos,strlen
-
- function.crl bdsc object format of this function
-
- c1.com compile version of the compiler
-
- assemble.com assembler needed to assemble output from the c compiler
-
- link.com link to link files
-
- submit.c a copy of a submit written in c that aollow nesting of submits
-
- time.c a copy of a program that get a d set time for qt clock board
-
- ==============================================================================
- what my version of small c has:
-
- statements:
-
- #asm allow assembler code to follow
-
- #endasm to end assembler code and go back to c
-
- #define macro definition
-
- #ifdef constant see if defined
-
- #ifndef constant see if not defined
-
- #include <file name> include source from file fname
-
- int identifier,... define a 16 bit integer
-
- char identifier,.. define a 8 bit unsigned value
-
- {} defines a block of statements
-
- if (expression) statement; {else statement;}
-
- while (expression) statement;
-
- for(expression; expression; expression) statement;
-
- switch(expression) { case constant: default : }
-
- return {expression};
-
- break;
-
- contiune;
-
-
- operators:
-
- * expression
-
- & lvale
-
- - expression
-
- ~ expression
-
- ++ lvalue
-
- -- lvalue
-
- lvalue ++
-
- lvalue --
-
- expression + expression
-
- expression - expression
-
- expression * expression
-
- expression / expression
-
- expression % expression
-
- expression << expression
-
- expression >> expression
-
- expression & expression
-
- expression ^ expression
-
- expression | expression
-
- expression && expression
-
- expression !! expression
-
- expression < expression
-
- expression > expression
-
- expression <= expression
-
- expression >= expression
-
- ! expression
-
- lvalue = expression
-
- lvalue += expression
-
- lvalue -= expression
-
- lvalue *= expression
-
- lvalue /= expression
-
- lvalue %= experession
-
- lvalue &= expression
-
- lvalue ^= expression
-
- lvalue != expression
-
- constant:
-
- n just a base ten number
-
- \n,\r,\t,\b,\f just a few character constant
- \\,\",\'
-
- \nnn a base 8 number
-
- 0xnn a base 16 number
-
- =============================================================================
- compiler used to compile programs is bdsc 1.41
- memory in system is 56k
-
- Mike Bernson
- 2103 Glencoe Hills APT 6
- Ann Abror, Mi 48104
-
- Phone 313-973-6404 or
- 313-996-0646
-
- if any problem come up please give me a call or write
- A² \╬&Avw.∩ kjç┬Dz ¡#¢ëU}M ì/ªNN] òg½µ╒g┐ ╙d╙τ¢ ì╟½:╕ ≥√ δ═$≈∩ ^æS⌐½░╢²±yîKiⁿ╦ Nl$₧u£╣ »∩╥Σ_╠ Oû'&╜² ¥²û|⌡ï ▐é}